from langchain.prompts import PromptTemplate

#设置prompt模板
prompt = PromptTemplate(
    input_variables=["product"],
    template="What is a good name for a accompant that makes {product}?",
)
print(prompt.format(product="colorful socks"))